package org.nfIt.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.nfIt.entity.product.ProductSku;

import java.util.List;

/**
 * ClossName:ProductSkuMapper
 * Pakage:org.nfIt.mapper
 * Description
 *
 * @Author L
 * @Create 2024/8/23 22:36
 * @Version 2023.1.3
 */
@Mapper
public interface ProductSkuMapper {

    //2 根据id查询商品sku信息列表 product_sku
    List<ProductSku> findProductSkuByProductId(Long id);

    // 保存商品sku数据
    void save(ProductSku productSku);

    //修改product_sku
    void updateById(ProductSku productSku);

    // 根据商品id删除商品的sku数据
    void deleteByProductId(Long id);
}
